import request from '@/util/request';
export const getMyFriend = function(param){
	var url = '/friend/getMyFriend';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const changeMemo = function(param){
	var url = '/friend/changeMemo';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getMessageList = function(param){
	var url = '/message/getMessageList';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getChat = function(param){
	var url = '/message/getChat';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const remove = function(param){
	var url = '/message/remove';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getNotice = function(param){
	var url = '/notice/getNotice';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getNoticeDetail = function(param){
	var url = '/notice/getNoticeDetail';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const clearNotice = function(param){
	var url = '/notice/clearNotice';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const followUser = function(param){
	var url = '/user/followUser';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}